<template>
  <up-image bgColor="transparent" :src="cmpSrc" :errorIcon="logoImg"  :fade="false" />
</template>
<script setup>
import { computed } from 'vue';
import logoImg from '@/static/images/img_empty.png';
const props = defineProps({
  src: {
    type: String,
    default: "",
  },
})
const cmpSrc = computed(() => {
  console.log(props.src)
  return props.src ? props.src : logoImg;
});
</script>
<style scoped lang="scss">


</style>
